package com.xzlf.service.impl;

import com.alibaba.fastjson.JSON;
import com.xzlf.domain.JobTask;
import com.xzlf.service.JobTaskService;
import com.xzlf.service.PrintService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class PrintServiceImpl implements PrintService {
//    @Autowired
//    private JobTaskService jobTaskService;
    @Override
    public void print(String name) {
//        JobTask jobTask = jobTaskService.getById(2);
//        log.info("{}执行打印任务:{}", name,JSON.toJSONString(jobTask));
        log.info("{}执行打印任务", name);
    }
}
